package cn.iocoder.yudao.module.fengdong.smartelderly.convert.reserved;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.reserved.vo.*;
import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.reserved.ReservedDO;

/**
 * 预约管理 Convert
 *
 * @author 沣东养老院管理员
 */
@Mapper
public interface ReservedConvert {

    ReservedConvert INSTANCE = Mappers.getMapper(ReservedConvert.class);

    ReservedDO convert(ReservedCreateReqVO bean);

    ReservedDO convert(ReservedUpdateReqVO bean);

    ReservedRespVO convert(ReservedDO bean);

    List<ReservedRespVO> convertList(List<ReservedDO> list);

    PageResult<ReservedRespVO> convertPage(PageResult<ReservedDO> page);

    List<ReservedExcelVO> convertList02(List<ReservedDO> list);

}
